package com.fmx.BookStore.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fmx.BookStore.domain.Permission;
import com.fmx.BookStore.domain.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PermissionMapper extends BaseMapper<Permission> {
    Permission selectPermissionById(Long permissionId);
    List<Permission> listPermission(Permission permission);
    int insertPermission(Permission permission);
    int updatePermission(Permission permission);
    int deletePermission(Long permissionId);
}
